package com.ruoyi.project.naming.namesentence.mapper;

import com.ruoyi.project.naming.namesentence.domain.NameSentence;
import java.util.List;

/**
 * 起名名句Mapper接口
 * 
 * @author shixiangwen
 * @date 2022-07-28
 */
public interface NameSentenceMapper 
{
    /**
     * 查询起名名句
     * 
     * @param id 起名名句ID
     * @return 起名名句
     */
    public NameSentence selectNameSentenceById(Long id);

    /**
     * 查询起名名句列表
     * 
     * @param nameSentence 起名名句
     * @return 起名名句集合
     */
    public List<NameSentence> selectNameSentenceList(NameSentence nameSentence);

    /**
     * 新增起名名句
     * 
     * @param nameSentence 起名名句
     * @return 结果
     */
    public int insertNameSentence(NameSentence nameSentence);

    /**
     * 修改起名名句
     * 
     * @param nameSentence 起名名句
     * @return 结果
     */
    public int updateNameSentence(NameSentence nameSentence);

    /**
     * 删除起名名句
     * 
     * @param id 起名名句ID
     * @return 结果
     */
    public int deleteNameSentenceById(Long id);

    /**
     * 批量删除起名名句
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteNameSentenceByIds(String[] ids);
}
